import React, { Component } from 'react'
import { Switch, Route, Redirect } from 'react-router-dom'

import Home from './views/home/Home'

export default class App extends Component {
  render() {
    return (
      <Switch>
        <Route path="/home" component={Home}></Route>
        <Redirect from="/" to="/home"></Redirect>
      </Switch>
    )
  }
}
